package com.ruoyi.magazine.magazine.domain;

import java.math.BigDecimal;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 杂志管理对象 business_magazine
 * 
 * @author duanxinli
 * @date 2023-11-10
 */
public class Magazine extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 杂志主键 */
    private String id;

    /** 期刊订期名称 */
    @Excel(name = "期刊订期名称")
    private String magazineName;

    /** 杂志封面 */
    @Excel(name = "杂志封面")
    private String magazineCover;

    /** 价格（单位：元/份） */
    @Excel(name = "价格", readConverterExp = "单=位：元/份")
    private BigDecimal price;

    /** 是否上架销售 1销售，2不销售 */
    @Excel(name = "是否上架销售 1销售，2不销售")
    private Long slae;

    /** $column.columnComment */
    @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
    private String remarks;

    /** $column.columnComment */
    private String delFlag;

    public void setId(String id) 
    {
        this.id = id;
    }

    public String getId() 
    {
        return id;
    }
    public void setMagazineName(String magazineName) 
    {
        this.magazineName = magazineName;
    }

    public String getMagazineName() 
    {
        return magazineName;
    }
    public void setMagazineCover(String magazineCover) 
    {
        this.magazineCover = magazineCover;
    }

    public String getMagazineCover() 
    {
        return magazineCover;
    }
    public void setPrice(BigDecimal price) 
    {
        this.price = price;
    }

    public BigDecimal getPrice() 
    {
        return price;
    }
    public void setSlae(Long slae) 
    {
        this.slae = slae;
    }

    public Long getSlae() 
    {
        return slae;
    }
    public void setRemarks(String remarks) 
    {
        this.remarks = remarks;
    }

    public String getRemarks() 
    {
        return remarks;
    }
    public void setDelFlag(String delFlag) 
    {
        this.delFlag = delFlag;
    }

    public String getDelFlag() 
    {
        return delFlag;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("magazineName", getMagazineName())
            .append("magazineCover", getMagazineCover())
            .append("price", getPrice())
            .append("slae", getSlae())
            .append("createTime", getCreateTime())
            .append("updateTime", getUpdateTime())
            .append("remarks", getRemarks())
            .append("delFlag", getDelFlag())
            .toString();
    }
}
